package com.platform.common.struts2;

import com.opensymphony.xwork2.ActionContext;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-9-6
 * Time: 下午4:24
 * To change this template use File | Settings | File Templates.
 */
public class Struts2Util {

    /**
     * 获取Session
     *
     * @return Map对象
     */
    public final static Map getSession() {
        ActionContext actionContext = ActionContext.getContext();
        return actionContext.getSession();
    }

}
